package cn.ecut.dzy.springbootenableother.config;


import cn.ecut.dzy.springbootenableother.domain.Role;
import cn.ecut.dzy.springbootenableother.domain.User;
import org.springframework.context.annotation.Bean;

//@Configuration
public class UserConfig {

    @Bean
    public User user() {
        return new User();
    }

    @Bean
    public Role role() {
        return new Role();
    }
}
